
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Cookies</title>
</head>
<body>
<%
    Cookie[] hello=request.getCookies();
    for (Cookie aHello : hello) {
        if (aHello.getName().equals("hello")) {
            out.print(aHello.getValue());
        }
    }
%>

</body>
</html>
